package com.lanyam.travel.base.service;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lanyam.travel.base.entity.ProductTicket;
import com.lanyam.travel.base.entity.TicketType;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author rosson
 * @since 2020-02-12
 */
public interface ITicketTypeService{

	List<TicketType> getAllTicketType();
	
	List<ProductTicket> getTickeTypeByProductId(String productId);

	void createProductTicket(ProductTicket productTicket);

	void updateProductTicket(ProductTicket ProductTicket);

	void deleteProductTicketById(String id);

	void deleteProductTicketByProductId(String productId);

	ProductTicket getProductTicketById(String id);

}
